﻿<!DOCTYPE html>
<html lang="en">
<head>
<title>Personaliza Tu Web</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery-1.6.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script>
<script type="text/javascript" src="js/Swis721_Cn_BT_400.font.js"></script>
<script type="text/javascript" src="js/Swis721_Cn_BT_700.font.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/tms-0.3.js"></script>
<script type="text/javascript" src="js/tms_presets.js"></script>
<script type="text/javascript" src="js/jcarousellite.js"></script>
<script type="text/javascript" src="js/script.js"></script>
  <!--[if lt IE 9]>
  	<script type="text/javascript" src="js/html5.js"></script>
	<style type="text/css">
		.bg{ behavior: url(js/PIE.htc); }
	</style>
  <![endif]-->
	<!--[if lt IE 7]>
		<div style=' clear: both; text-align:center; position: relative;'>
			<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0"  alt="" /></a>
		</div>
	<![endif]-->
</head>
<body id="page1">
<div class="body1">
	<div class="body2">
		<div class="main">
<!-- header -->
			<header>
				<div class="wrapper">
				
				 <form id="newsletter" method="post" action="ValidarLogin.php">
                       <input class="input" name="textMailUsuario" id="textMailUsuario" type="text" value="Ingrese su Email"  onBlur="if(this.value=='') this.value='Ingrese su Email'" onFocus="if(this.value =='Ingrese su Email' ) this.value=''" > 
                       &nbsp;  &nbsp; 
                       <input class="input" name="textPasswordUsuario" id="textPasswordUsuario" type="password" value="Ingrese su Password"  onBlur="if(this.value=='') this.value='Ingrese su Password'" onFocus="if(this.value =='Ingrese su Password' ) this.value=''" > 
                      
                       <a href="#" id="BTNsubmit"  onclick="ValidarDatos()">Ingresar</a>                      
                       <a href="Contacto.html" id="BTNregistrar"  >Registrarse</a>
                      </form>  <div id="MensajeLogin"></div>
				</div>
				<div class="wrapper">
					<div class="slider">
					  <ul class="items">
						<li><img src="images/img1.jpg" alt=""></li>
						<li><img src="images/img2.jpg" alt=""></li>
						<li><img src="images/img3.jpg" alt=""></li>
						<li><img src="images/img4.jpg" alt=""></li>
					  </ul>
					</div>
				</div>
			</header>
<!-- header end-->
		</div>
	</div>
	</div>
	<div class="body3">
		<div class="main">
<!-- content -->
		  <article id="content">
			<div class="wrapper">
					<section class="cols">
						<h3><span class="dropcap">1</span>Primer<span>Titulo</span></h3>
						<p class="pad_bot1">parrafoo ejemplo</p>
						<a href="#" class="link1">Read More</a>
					</section>
					<section class="cols pad_left1">
						<h3><span class="dropcap">2</span>Primer<span>Titulo</span></h3>
						<p class="pad_bot1">parrafoo ejemplo</p>
						<a href="#" class="link1">Read More</a>
					</section>
					<section class="cols pad_left1">
						<h3><span class="dropcap">3</span>Primer<span>Titulo</span></h3>
						<p class="pad_bot1">parrafoo ejemplo</p>
						<a href="#" class="link1">Read More</a>
					</section>
					<section class="cols pad_left1">
						<h3><span class="dropcap">4</span>Primer<span>Titulo</span></h3>
						<p class="pad_bot1">parrafoo ejemplo</p>
						<a href="#" class="link1">Read More</a>
					</section>
			  </div>
			</article>
		</div>
	</div>

		<div class="body1">
<!-- footer -->
			<footer >

			</footer>
<!-- footer end -->
		</div>
<script type="text/javascript"> Cufon.now(); 
 $(document).ready(function(e) {
    var mensaje = $.get("error");
	
	if(mensaje == "true"){
    $("#MensajeLogin").html("<br><p style='color:red;'> Email y/o contraseña Incorrecto, ingrese nuevamente.- </p>");
}
});



function ValidarDatos(){
	
	var form = $("#newsletter");
    form.submit();
	
	}
	
(function($) {  
    $.get = function(key)   {  
        key = key.replace(/[\[]/, '\\[');  
        key = key.replace(/[\]]/, '\\]');  
        var pattern = "[\\?&]" + key + "=([^&#]*)";  
        var regex = new RegExp(pattern);  
        var url = unescape(window.location.href);  
        var results = regex.exec(url);  
        if (results === null) {  
            return null;  
        } else {  
            return results[1];  
        }  
    }  
})(jQuery);  
</script>
</body>
</html>